package com.ruoyi.treatment.domain.dto;

/**
 * 药品清单DTO
 *
 * @author ruoyi
 * @date 2025-08-18
 */
public class YaoDanDto {
    /** 药品名称 */
    private String name;

    /** 药品ID */
    private Long drugId;

    /** 数量 */
    private Integer quantity;

    /** 药品类型名称 */
    private String drugStyleName;

    /** 构造函数 */
    public YaoDanDto() {
    }

    public String getDrugStyleName() {
        return drugStyleName;
    }

    public void setDrugStyleName(String drugStyleName) {
        this.drugStyleName = drugStyleName;
    }

    /** 带参数的构造函数 */
    public YaoDanDto(String name, Long drugId, Integer quantity) {
        this.name = name;
        this.drugId = drugId;
        this.quantity = quantity;
    }

    // Getter和Setter方法
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getDrugId() {
        return drugId;
    }

    public void setDrugId(Long drugId) {
        this.drugId = drugId;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    @Override
    public String toString() {
        return "YaoDanDto{" +
                "name='" + name + '\'' +
                ", drugId=" + drugId +
                ", quantity=" + quantity +
                '}';
    }
}
